package com.zmm.zebulon.starter.desensitize.core.handler;

import com.zmm.zebulon.starter.desensitize.base.handler.DesensitizationHandler;
import com.zmm.zebulon.starter.desensitize.core.annotation.Address;

/**
 * description: {@link Address} 的脱敏处理器
 *
 * @author zebulon
 * package com.zmm.zebulon.starter.desensitize.core.handler
 * name: AddressHandler
 * date 2024/1/7 16:19
 */
public class AddressHandler implements DesensitizationHandler<Address> {

    @Override
    public String desensitize(String origin, Address annotation) {
        return origin + annotation.replacer();
    }

}
